[신민경] 웹 서버 7단계 (1)#189
Open
shinminkyoung1 wants to merge 15 commits intosofteerbootcamp-7th:shinminkyoung1from
Open
[신민경] 웹 서버 7단계 (1)#189shinminkyoung1 wants to merge 15 commits intosofteerbootcamp-7th:shinminkyoung1from
shinminkyoung1 wants to merge 15 commits intosofteerbootcamp-7th:shinminkyoung1from
Conversation
|
main 브랜치로 병합 시도 || 적절한 라벨이 있는지 확인해 주세요. |
1 similar comment
|
main 브랜치로 병합 시도 || 적절한 라벨이 있는지 확인해 주세요. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
완료 작업 목록
웹 서버 7단계 - 기본 게시판 구현
Article테이블 생성Post):/article/write요청 시 DB에 게시글 저장index.html로딩 시 DB에서 글 목록을 가져와 HTML에 삽입SecurityInterceptor에 글쓰기 경로 추가주요 고민과 해결 과정
DAO(Data Access Object) 구현 방식
DAO는 쿼리를 실행하고 객체로 변환하는 일에만 집중하게 하고, 유저가 로그인 가능한 상태인지 등의 판단은 제외함 (단일 책임 원칙)
/db/ArticleDao.javaconnection을 어떻게 닫을 것인가
finally 블록으로 일일이
.close()하지 않고, try-with-resources 문법으로 해결함AI에 도움 받은 부분